exports.response = function (req, res) {
	const data_mix = [];
  const data_base = [];
  for (let i=0; i<366; i++) {
    data_mix[i] = ((Math.random() - 0.4) * 80).toFixed(2);
    data_base[i] = ((Math.random() - 0.4) * 80).toFixed(2);
  }
  return {
    "code": 0,
    "msg": "OK",
    "data": {
      "chartdata": {
        "data_mix": data_mix,
        "data_base": data_base,
      },
      "tabledata": [
        {
        	"project": "组合",
	        "accumulativeGainRat": "50",
	        "maxAccumulativeGainRat": "20",
	        "minAccumulativeGainRat": "4",
	        "standardDeviation": "8",
	        "maxRetracement": "15",
	        "beta": "5",
        },
        {
        	"project": "基准",
	        "accumulativeGainRat": "40",
	        "maxAccumulativeGainRat": "10",
	        "minAccumulativeGainRat": "1",
	        "standardDeviation": "5",
	        "maxRetracement": "3",
	        "beta": "5",
        },
        {
        	"project": "超额",
	        "accumulativeGainRat": "10",
	        "maxAccumulativeGainRat": "10",
	        "minAccumulativeGainRat": "3",
	        "standardDeviation": "3",
	        "maxRetracement": "10",
	        "beta": "2",
        },
      ],
    },
  }
}